package cn.bob.user.mapper;

import cn.bob.user.domain.User;
import cn.bob.basic.mapper.IBaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author bob
 * @since 2022-10-19
 */
public interface UserMapper extends IBaseMapper<User> {
    //查询phone是否已经注册
    User findByPhone(String phone);
    //查询email是否已经注册
    User findByEmail(String email);

    User findLoginid(Long id);
}
